const fs=require("fs")
let unlink=function(url){
  let p = new Promise((resolve,reject)=>{
    fs.unlink(url,(err)=>{
      resolve(err)
    })
  })
  return p
}
module.exports=unlink